package com.course.service;

import com.course.pojo.Teacher;

public interface TeacherService {
    int deleteByPrimaryKey(String teachername);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectByPrimaryKey(String teachername);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);

    Teacher login(String teachername , String password);

    void register(Teacher teacher);
}